package com.wizz.trade.information.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 仓库签约品种表
 * </p>
 *
 * @author fyftless
 * @since 2023-04-02 04:26:06
 */
@Data
@TableName("svar")
@AllArgsConstructor
@NoArgsConstructor
public class Svar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;

    /**
     * 关联仓储协议表id,仓储协议表/仓库签约品种表：一对多
     */
    @TableField("sta")
    @ExcelProperty(value = "仓储协议表")
    private Integer sta;

    /**
     * 关联品级id，规格表/仓库签约品种表：一对一
     */
    @TableField("grad")
    @ExcelProperty("品级")
    private Integer grad;

    /**
     * 收费币种
     */
    @ExcelProperty("收费币种")
    @TableField("curency")
    private String curency;
}
